package com.icss.service;

import java.util.List;

import com.icss.model.Student;

public interface StudentService {
	//全查询
	public List<Student> findAll();
	//模糊查询
	public List<Student> findByName(String name);
	//分页模糊查询
	public List<Student> findByPageName(int current,String name);
	//根据id查询
	public Student findById(int id);
	//修改
	public boolean update(Student s);
	//添加
	public boolean add(Student s);
	//删除
	public boolean del(int id);
}
